package com.ruoyi.qif.mapper;

import java.util.Date;
import java.util.List;
import com.ruoyi.qif.domain.QifExpenditure;
import org.apache.ibatis.annotations.Param;

/**
 * 锜风公寓-公账支出Mapper接口
 * 
 * @author David
 * @date 2025-11-03
 */
public interface QifExpenditureMapper 
{
    /**
     * 查询锜风公寓-公账支出
     * 
     * @param expenditureId 锜风公寓-公账支出主键
     * @return 锜风公寓-公账支出
     */
    public QifExpenditure selectQifExpenditureByExpenditureId(Long expenditureId);

    /**
     * 查询锜风公寓-公账支出列表
     * 
     * @param qifExpenditure 锜风公寓-公账支出
     * @return 锜风公寓-公账支出集合
     */
    public List<QifExpenditure> selectQifExpenditureList(QifExpenditure qifExpenditure);

    /**
     * 新增锜风公寓-公账支出
     * 
     * @param qifExpenditure 锜风公寓-公账支出
     * @return 结果
     */
    public int insertQifExpenditure(QifExpenditure qifExpenditure);

    /**
     * 修改锜风公寓-公账支出
     * 
     * @param qifExpenditure 锜风公寓-公账支出
     * @return 结果
     */
    public int updateQifExpenditure(QifExpenditure qifExpenditure);

    /**
     * 删除锜风公寓-公账支出
     * 
     * @param expenditureId 锜风公寓-公账支出主键
     * @return 结果
     */
    public int deleteQifExpenditureByExpenditureId(Long expenditureId);

    /**
     * 批量删除锜风公寓-公账支出
     * 
     * @param expenditureIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteQifExpenditureByExpenditureIds(String[] expenditureIds);

    QifExpenditure selectQifExpenditureByDateAndDescription(@Param("expenditureDate") Date expenditureDate, @Param("remark") String remark);

}
